import 'dart:async';

import 'package:check_app/api/request.dart';

const P_PATH = '/region/map/province';
const C_PATH = '/region/map/cityArea';

///首页接口
class AddressDao {
  static Future fetchProvince() async {
    final response = await Request().get(P_PATH, queryParameters: {});
    return response;
  }

  static Future fetchCityArea() async {
    final response = await Request().get(C_PATH, queryParameters: {});
    return response;
  }
}
